<!DOCTYPE html>
<html>
<head>
	<title>补换号牌</title>
	<meta http-equiv="Pragma" CONTENT="no-cache">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="renderer" content="webkit">
	<%include("/common/include.html"){}%>
<style type="text/css">
	#customInfo li{
		display: inline-block;
		width: 165px;
		height: 30px;
		position: relative;
		margin-top: 5px;
	}
	#customInfo li div{
		position: absolute;
		right: 0px;
	}
	input {
		border: 1px solid black;
	}
	.table td {
		padding: 5px;
	}
	.name{
	background: #bad0ff;
	}
</style>

</head>
	<body>
		<div class="easyui-layout" style="width:100%;height:100%;">
		<form id="info_form1" method="post"   enctype="multipart/form-data"      action="replaceHpYwxg/update" >
			<div data-options="region:'center'"  style="OVERFLOW-X:hidden;">
				<div class="easyui-layout" style="width:100%;">
					<table class="table" width="100%"  border="1">
						<tr>
							<td style="text-align: right;" class="name">业务流水号</td>
							<td colspan="8">${business.LSH!}
							
								<input   type="hidden"  name="business.IDS"  value="${business.IDS !}" />
								<input   type="hidden"  name="business.LSH"  value="${LSH!}" />
								<input   type="hidden"  name="business.VEHICLEIDS"  value="${vehicle.IDS !}" />
								
								
								<input   type="hidden"  name="hid"  value="${hpzjth.IDS !}" />
								<input   type="hidden"  name="hpzjth.IDS"  value="${hpzjth.IDS !}" />
								<input   type="hidden"  name="hpzjth.VEHICLEIDS"  value="${vehicle.IDS !}" />
								<input   type="hidden"  name="hpzjth.PLATEID"  value="${plate.IDS !}" />
								<input   type="hidden"  name="hpzjth.HPHM"  value="${plate.HPHM !}" />
								
							</td>
						</tr>
						
						<tr>
							<td colspan="8">
								<div style="margin-left:5px;font-weight: bold;font-size:18px;">申请事项</div>
							</td>
						</tr>
						<tr>
							<td width="10%" style="text-align: right;" class="name"  rowspan=2   >号牌</td>
							<td width="15%">
							
							
								<input type="radio"   onclick="return false"   name="hpzjth.BHSTATUS"
								     
									<% if(hpzjth.BHSTATUS! == '1'){ %>
										checked="checked"
									<% } %>
									
								    value="1"/> 补领
							</td>
							<td colspan="6">
								<input type="checkbox" onclick="return false"  name="hpzjth.DS"  
								<% if(hpzjth.DS! == 'on'){ %>
										checked="checked"
									<% } %> 
									
									
									/> 丢失
								<input type="checkbox" onclick="return false"  name="hpzjth.MS" 
								<% if(hpzjth.MS! == 'on'){ %>
										checked="checked"
									<% } %> 
								
								/> 灭失
								
								<input type="checkbox" onclick="return false"  name="hpzjth.QM" 
								
								<% if(hpzjth.QM! == 'on'){ %>
										checked="checked"
									<% } %> 
								
								/> 前号牌
								<input type="checkbox" onclick="return false"  name="hpzjth.HM" 
								<% if(hpzjth.HM! == 'on'){ %>
										checked="checked"
									<% } %> 
								
								
								 /> 后号牌
							</td>
							
						</tr>
					
						<tr>
							<td width="15%">
								<input type="radio" onclick="return false"  name="hpzjth.BHSTATUS" 
								
								<% if(hpzjth.BHSTATUS! == '2'){ %>
										checked="checked"
									<% } %>
								
								 value="2"/> 换领
							</td>
							<td  colspan="6">
							  	<input type="checkbox" onclick="return false"  name="hpzjth.QM2"
							  	
							  	<% if(hpzjth.QM2! == 'on'){ %>
										checked="checked"
									<% } %> 
							  	
							  	 /> 前号牌
								<input type="checkbox" onclick="return false"  name="hpzjth.HM2"
								<% if(hpzjth.HM2! == 'on'){ %>
										checked="checked"
									<% } %> 
								
								
								 /> 后号牌
							</td>
						</tr>
						
						<tr align="center">
							<td colspan="2" style="padding-top:10px;" width="15%" align="center">
								<img id="xmTanImg1" width="240px" height="240px" /></br>
								<span>来历凭证</span></br></br>
							</td>
							<td colspan="2" style="padding-top:10px;" width="15%" align="center">
								<img id="xmTanImg2" width="240px" height="240px" /></br>
								<span>合格证</span></br></br>
							</td>
							<td colspan="2" style="padding-top:10px;" width="15%" align="center">
								<img id="xmTanImg3" width="240px" height="240px" /></br>
								<span>车辆</span></br></br>
							</td>
							<td colspan="2" style="padding-top:10px;" width="15%" align="center">
								<img id="xmTanImg4" width="240px" height="240px" /></br>
								<span>其他</span></br></br>
							</td>
						</tr>
						
						<tr>
							<td colspan="8">
								<div style="margin-left:5px;font-weight: bold;font-size:18px;">车辆所有人信息</div>
							</td>
						</tr>
						
						<tr>
							<td width="10%" style="text-align: right;" class="name">所有人性质</td>
							<td width="15%">
							${owner.OWNERTYPE}
							</td>
							<td width="10%" style="text-align: right;" class="name">所有人名称</td>
							<td width="15%">${owner.OWNERNAME}</td>
							<% if(owner.OWNERTYPE=='个人'){ %>
							<td width="10%" style="text-align: right;" class="name" id = "td_sfzmhm" >身份证号码</td>
							<%}else{%>
							<td width="10%" style="text-align: right;" class="name" id = "td_sfzmhm" >社会信用代码</td>
							<% } %>
							<td width="15%">${owner.SFZHM !}</td>
							<!-- <td width="10%" style="text-align: right;" class="name">身份证号码</td>
							<td width="15%">${owner.SFZHM !}</td>
							<td width="10%" style="text-align: right;" class="name">社会信用代码</td>
							<td width="15%">${owner.SHXYDM !}"</td> -->
						</tr>
					
						<tr>
							<td style="text-align: right;" class="name">是否老年</td>
							<td width="15%">
								${owner.SFLN !}
							</td>
							<td width="10%" style="text-align: right;" class="name">老年证编号</td>
							<td width="15%">${owner.LNNUM !}</td>
							<td style="text-align: right;" class="name">是否残疾</td>
							<td width="15%">
								${owner.SFCJ !}
							</td>
							<td width="10%" style="text-align: right;" class="name">残疾证编号</td>
							<td width="15%">${owner.CJNUM !}</td>
						</tr>
						
						<tr>
							<td style="text-align: right;" class="name">行政区划</td>
							<td width="15%">
								${owner.ADDRESS !}
							</td>
							<td style="text-align: right;" class="name">详细地址</td>
							<td width="15%">${owner.DETAILADDRESS !}</td>
							<td style="text-align: right;" class="name">座机</td>
							<td width="15%">${owner.TEL !}</td>
							<td style="text-align: right;" class="name">手机</td>
							<td width="15%">${owner.PHONE !}</td>
						</tr>
					
						<tr>
							<td colspan="8">
								<div style="margin-left:5px;font-weight: bold;font-size:18px;">车辆参数信息</div>
							</td>
						</tr>
						<tr>
							<td style="text-align: right;" class="name">车辆类型</td>
							<td width="15%"  colspan="8">
							${vehicleparemeters.CLLX !}
							
							</td>
						</tr>
						<tr>
							<td style="text-align: right" class="name">车辆识别代号</td>
							<td>${vehicleparemeters.CLSBDH !}</td>
							<td style="text-align: right;" class="name">使用性质</td>
							<td width="15%">
							${vehicleparemeters.SYXZ !}
							
							
								
							</td>
							<td style="text-align: right;" class="name">车辆品牌</td>
							<td>${vehicleparemeters.CLPP !}</td>
							
							<td style="width: 10%;text-align: right" class="name">车辆型号</td>
							<td>${vehicleparemeters.CLXH !}</td>
							
						</tr>
					
						<tr>
							<td style="text-align: right" class="name">生产厂家</td>
							<td>${vehicleparemeters.SCCJ !}</td>
							<td style="text-align: right;" class="name">出厂日期</td>
							<td>${vehicleparemeters.CCRQ !}
							</td>
							<td style="text-align: right;" class="name">合格证编号</td>
							<td>${vehicleparemeters.HGZBH !}    </td>
							<td style="text-align: right;" class="name">使用年限/年</td>
							<td> ${vehicleparemeters.SYNX !}</td>
						</tr>
					
						<tr>
							<td style="text-align: right;" class="name">车身颜色</td>
							<td>
								${vehicleparemeters.CSYS !}
							</td>
							<td style="text-align: right;" class="name">前后轮距/CM</td>
							<td>${vehicleparemeters.QHLJ !}</td>
							<td style="text-align: right;" class="name">车体宽度/CM</td>
							<td>${vehicleparemeters.CTKD !}</td>
							<td style="text-align: right;" class="name">整车质量/Kg</td>
							<td>${vehicleparemeters.ZCZL !}</td>
						</tr>
					
						<tr>
							<td style="text-align: right;" class="name">核定载人数</td>
							<td>${vehicleparemeters.HDZRS !}</td>
							<td style="text-align: right;" class="name">功率/W</td>
							<td>${vehicleparemeters.GL !}</td>
							<td style="text-align: right;" class="name">是否加装遮雨棚</td>
							<td>
								${vehicleparemeters.SFJZYP !}
							</td>
							<td style="text-align: right;" class="name">是否加装载物箱</td>
							<td>
								${vehicleparemeters.SFJZZWX !}
							</td>
						</tr>
					
						<tr>
							<td colspan="8">
								<div style="margin-left:5px;font-weight: bold;font-size:18px;">车辆号牌信息</div>
							</td>
						</tr>
					
						<tr>
							<td style="text-align: right;" class="name">号牌号码</td>
							<td colspan="8">${plate.HPHM !}</td>
						</tr>
					
			
						
						
						
					
						
					</table>
				</div>	
			</div>
		</form>
		</div>
	</body>
</html>

<script type="text/javascript">


showPicture('${business.ids}');

var $form = $('#info_form1');
var submitNow = function($dialog, $grid, $tree, $pjq) {
	
	$('#info_form1').form('submit', {
		url: "${cxt !}/replaceHpYwxg/update",
		data:$('#info_form1').serialize(),// 你的formid
	    dataType: "json",
	    onSubmit: function(){
			
	    },
	    success:function(result){
	    	if(JSON.parse(result).code == "200"){
	    		$grid.datagrid('reload');
				$.slideMsg("修改成功！", $pjq);
				$dialog.dialog('destroy');
				
	    	}else if(JSON.parse(result).code == "300"){
	    		
	    		$.slideMsg(JSON.parse(result).msg, parent.$);
				location.reload();
	    	}
	    }
	});
	
};
var submitForm = function($dialog, $grid, $tree, $pjq) {
	submitNow($dialog, $grid, $tree, $pjq);
};

	
</script>

